Skip to content

Add dominant color background to Video blocks with poster images #2039

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

westonruter
Copy link
Member

I realized there was a missed opportunity for adding a color dominant color background on Video blocks which have a poster assigned.

This currently only assigns the color when the video is uploaded to the Media Library, and the attachment post for the video itself is assigned a featured image which is the poster image.

  • Support discovering the dominant color for posters that are assigned at the block level instead of the attachment level.
  • Add a dominant_color_img_tag_add_dominant_color filter for the video case.

@westonruter westonruter added [Type] Enhancement A suggestion for improvement of an existing feature [Plugin] Image Placeholders Issues for the Image Placeholders plugin (formerly Dominant Color Images) labels Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Image Placeholders Issues for the Image Placeholders plugin (formerly Dominant Color Images) [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant